<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core"  prefix="c"%>
<%@ taglib uri="http://struts.apache.org/tags-html"  prefix="html"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>修改贷款申请</title>
    <link href="CSS/Accessible_Design.css" rel="stylesheet" type="text/css" />
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
		<link href="../CSS/Accessible_Design.css" rel="stylesheet" type="text/css" />
	<style type="text/css">
	<!--
	.STYLE1 {
		font-size: large;
		font-weight: bold;
		color: #000066;
	}
	-->
	</style>
  </head>
  
  <body>
   	<html:form action="changeApplyLoad.do">
   	<table width="553" height="235" border="1" cellspacing="0" class="small">
  <tr>
    <td colspan="5"><div align="center" class="STYLE1">修改贷款申请</div></td>
  </tr>
  <tr>
    <td rowspan="4">基本信息</td>
    <td >姓名：${login.name }</td>
    <td colspan="2">性别：
    <c:if test="${login.stu.sex==0 }">
    <c:out value="女"></c:out>
    </c:if>
    <c:if test="${login.stu.sex==1 }">
    <c:out value="男"></c:out>
    </c:if>
    <td >出生日期：${birthday}</td>
  </tr>
  <tr>
    <td>名族：${login.stu.nation}</td>
    <td colspan="2">政治面貌：
    
    <c:if test="${login.stu.status==0 }">
    <c:out value="团员"></c:out>
    </c:if>
    <c:if test="${login.stu.status==1 }">
    <c:out value="党员"></c:out>
    </c:if>
    </td>
    <td>省份证号：${login.stu.userId }</td>
  </tr>
  <tr>
    <td colspan="2">学院：${login.classId.collegeId.colName }</td>
    <td colspan="2">班级学号：${login.userAccount }</td>
  </tr>
  <tr>
    <td colspan="2">年级：</td>
    <td colspan="2">班级：${login.classId.className }</td>
  </tr>
  <tr>
    <td>本人电话</td>
    <td>  </td>
    <td colspan="3">专业 :${login.stu.speciality }</td>
   
  </tr>
  <tr>
    <td>家庭电话</td>
    <td>${login.stu.home.hphone }</td>
    <td colspan="3">贷款经额
   
	<html:select property="loadAmount">
	<c:forEach items="${loadMoney}" var="loadMoney">
		
			<html:option value="${loadMoney.moneyId }" >${loadMoney.loadMoney }</html:option>
			<c:if test="${loadMoney.loadMoney==load.loadAmount}">   <c:out value="selected" /></c:if> 
	</c:forEach>
	</html:select>
	</td>  </tr>
  <tr>
    <td>家庭住址</td>
    <td colspan="4">${login.stu.home.address }</td>
   
    
  </tr>
   <tr>
    <td>贷款理由</td>
    <td colspan="4">
    <html:textarea property="loadReason">
    ${load.loadReason}
    </html:textarea>
    <html:hidden  property="loadId" value="${load.loadId}"/>
    </td>
   
    
  </tr>
  <tr>
    <td height="25" colspan="5">
    	<input type="submit" value="确定"  name="Input"></td>
    </tr>
</table>
</html:form>
	
  </body>
</html>
